package com.plian.system.entity.fr.bonds;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("cqzc_exist_bonds")
@ApiModel(value = "ExistBonds对象", description = "存续债券表")
public class ExistBonds extends BaseEntity {

    @ApiModelProperty("单据编码")
    private String code;

    @ApiModelProperty("组织机构id")
    private String orgId;

    @ApiModelProperty("单据类型码")
    private String formType;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("数据来源")
    private String dataSource;

    @ApiModelProperty("数据来源id")
    private String dataSourceId;

    @ApiModelProperty("发行主体")
    private String issuer;

    @ApiModelProperty("所属集团企业")
    private String groupCompany;

    @ApiModelProperty("债券类型")
    private String bondVarieties;

    @ApiModelProperty("发行金额")
    private BigDecimal issueAmount;

    @ApiModelProperty("存续金额")
    private BigDecimal balance;

    @ApiModelProperty("发行日期")
    private String issueDate;

    @ApiModelProperty("到期日期")
    private String bondMaturity;

    @ApiModelProperty("债券期限")
    private String bondTerm;

    @ApiModelProperty("票面利率")
    private String couponRate;

    @ApiModelProperty("综合成本率")
    private String comprehensiveCostRate;

    @ApiModelProperty("募集资金用途")
    private String purpose;

}
